#!/bin/bash
#SBATCH – J TestSerial
#SBATCH -N 1
#SBATCH – n 1
#SBATCH -o log/%j.loop
#SBATCH -e log/%j.loop
#SBATCH --gres=dcu:4
echo “SLURM_JOB_PARTITION=$SLURM_JOB_PARTITION”
echo “SLURM_JOB_NODELIST=$SLURM_JOB_NODELIST”
module switch compiler/rocm/2.9 compiler/rocm/3.9.1
hipcc main.cpp -I ./ -o Csrsparse

srun -p  PilotCup ./Csrsparse data/af23560.csr
